package cn.acheng1314.springboot2.entity

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.baomidou.mybatisplus.extension.activerecord.Model
import java.util.*

@TableName(value = "t_house_news")
class HouseNews : Model<HouseNews>() {

    @TableId(value = "id", type = IdType.UUID)
    var id: String? = null
    /**
     *
     * 房源信息主键
     */
    @TableField(value = "house_id")
    var houseId: Long? = null
    /**
     * 新闻标题
     */
    @TableField(value = "title")
    var title: String? = null
    /**
     * 新闻内容
     */
    @TableField(value = "content")
    var content: String? = null
    /**
     * 媒体文件地址
     */
    @TableField(value = "video")
    var video: String? = null
    /**
     * 备注
     */
    @TableField(value = "remark")
    var remark: String? = null

    @TableField("create_time")
    var createTime: Date? = null
    @TableField(value = "update_time")
    var updateTime: Date? = null

}